home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / SoundApps / aa_m68k_Only / SndMount.app / English.lproj / SndMount.nib / data.nib (.txt) < prev   
Encoding:
NeXT TypedStream Data  |  1992-11-19  |  6.2 KB  |  114 lines

  1. typedstream
  2. IBObjectData
  3. Object
  4. CustomObject
  5. Application
  6.     TextField
  7. Control
  8.     Responder
  9. ScrollView
  10. ClipView
  11. ciifffcfffs
  12. [3561c]{\rtf0\ansi{\fonttbl\f4\fnil Helvetica-Black;\f0\fswiss Helvetica;\f1\fnil Helvetica-Oblique;\f2\fmodern Courier;\f3\fmodern Ohlfs;}
  13. \margl40
  14. \margr40
  15. {\colortbl;\red0\green0\blue0;}
  16. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f4\b\i0\ulnone\fs24\fc0\cf0 What is this thing, anyway?\
  17. \f0\b0 The concept of SndMount came to me on a 
  18. \f1\i shinkansen
  19. \f0\i0  (bullet train) from Hamamatsu to Tokyo as I was going up to a NeXT User Group meeting.  Since you can already personalize directories with a 
  20. \f2 .dir.tiff
  21. \f0  file, my thought was that you should be able to personalize removeable media with a 
  22. \f2\fc1\cf1 .dir.snd
  23. \f0\fc0\cf0  file.  Accordingly, I wrote this program, which receives messages from the Workspace when removable media are inserted, searches for a file called 
  24. \f2\fc1\cf1 .dir.snd
  25. \f0\fc0\cf0  and plays it.  A "replay" panel is also provided in case you didn't catch the message the first time round.\
  26. \f4\b\fc1\cf1 What use is it?\
  27. \f0\b0\fc0\cf0 What practical uses (despite the subtitle of this Info panel) could this possibly have?  At the User Group, we kicked the idea around, and we came up with the following possible uses:\
  28. \pard\tx600\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fi-580\li580\fc0\cf0 i)    Software distributors could put a 
  29. \f2\fc1\cf1 .dir.snd
  30. \f0\fc0\cf0   file onto the first distribution disk of a multi-disk set telling the user to "read the README file" or something similar\
  31. ii)    In an environment where removable media are sent around between members, internal messages such as "I need this disk back soon - 3.5" MO disks are expensive, you know" or "let me know what you think of Chapter 7" could actually be useful.\
  32. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f4\b\fc1\cf1 How it works and what it might do in the future\
  33. \f0\b0\fc0\cf0 The program itself uses the Workspace messaging protocol and the Sound object.  When the disk is unmounted, the Sound object is freed.  This means that even a multi-disk Installer 
  34. \f2\fc1\cf1 .pkg
  35. \f0\fc0\cf0  should be able to include a 
  36. \f2\fc1\cf1 .dir.snd
  37. \f0\fc0\cf0 , as SndMount relinquishes any claims to the disk when the Workspace sends an 
  38. \f2\fc1\cf1 unmounted:
  39. \f0\fc0\cf0  message to it.  SndMount supports multiple removable media (floppies, ODs, CD-ROMs, etc.), but I haven't tested everything out, so you may find bugs.\
  40. Future releases may use the SoundView object (depends if people feel if it's useful).  Another potential enhancement would be to read the language preferences, and play the appropriate sound (
  41. \f2\fc1\cf1 .dir.English.snd
  42. \f0\fc0\cf0 , or 
  43. \f2\fc1\cf1 .dir.Swedish.snd
  44. \f0\fc0\cf0 ).\
  45. \f4\b\fc1\cf1 Disclaimers, etc.\
  46. \f0\b0\fc0\cf0 This software is supplied on an "as-is" basis.  No warranty for fitness of use, implied or otherwise, is provided with this software.  All operation of this software is at the user's own risk, and the writer of this program and his employers cannot be held responsible for any damge or loss consequent on any failure of this program to perform as described.\
  47. You are free to hack this software as required.  I can't put the source code on an ftp site, and I pay for all e-mail, but I'll try and make the source code available if I can.\
  48. Bug reports, chocolates, money, etc. to\
  49. hashton@crestec.twics.co.jp\
  50. Hugh Ashton\
  51. Tel:+81-53-435-3553  \
  52. Fax:+81-53-435-3356\
  53. SnailMail:Crestec Inc., 676 Kasaishinden-cho,Hamamatsu-shi 431-31, Japan                              NextMail welcome 
  54. NXCursor
  55. NXImage
  56. NXibeam
  57. Scroller
  58. _doScroller:
  59. @@@ffs
  60. Button
  61. ButtonCell
  62. ActionCell
  63.     Helvetica
  64. applet
  65. hashton
  66. Title
  67. TextFieldCell
  68. %a singularly useless application from
  69. Hugh Ashton - Crestec Inc 1992
  70. Version 1.0
  71. Helvetica-Bold
  72. SndMount
  73. NXCachedImageRep
  74. NXImageRep
  75. iisssss
  76. iiiiii
  77. Matrix
  78. @:@iiii
  79. playbutton
  80. playbuttonH
  81. pausebutton
  82. pausebuttonH
  83. stopbutton
  84. stopbuttonH
  85. ff@@#::s
  86. PlayH
  87. WindowTemplate
  88. iiii***@s@
  89. Window
  90. MenuCell
  91. Info Panel
  92. MenuTemplate
  93. *@*@ccc
  94. SndMount Info
  95. Panel
  96. Mounted
  97. SoundWindow
  98. File's Owner
  99. MainMenu
  100.     InfoPanel
  101. [10@]
  102. IBControlConnector
  103. IBConnector
  104. hide:
  105. terminate:
  106. IBOutletConnector
  107. delegate
  108. window
  109. play:
  110. pause:
  111. stop:
  112. makeKeyAndOrderFront:
  113. stop_button
  114.